POV-Ray : Newsgroups : povray.newusers : repeat in texture wrapped around a sphere : repeat in texture wrapped around a sphere Server Time
29 Jul 2024 22:28:22 EDT (-0400)
  repeat in texture wrapped around a sphere  
From: Rafal Maj Raf256
Date: 8 Feb 2005 21:24:30
Message: <4209745e@news.povray.org>
I must be geting old or something - I forgot how to make a texture that:

1) is a material_map
2) is wrapped around sphere like with map_type 1 or uv_mapping
3) but is scaled/repeated _before_ wraping around

In example like:
#declare texSiatka = texture {
  material_map {
    png "xbw.png" interpolate 4
    texture { pigment { rgb y } }
    texture { pigment { rgb x } }
  }
}

And .png is image of one "X" shaped latter. 
I want sphere be covered with in example 10 "X"-es in both directions
(10*10) and not just one.








-- 
Rafal Maj Raf256


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.